package com.dsp.sharding.order.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

@AllArgsConstructor
@Table("t_order_item")
@Data
public class OrderItem {

    @Id
    private Long id;
    private Long userId;
    private Long orderId;
    private Long goodsId;
    private String goodsName;

}
